When translating N_() strings, use _(), not gettext(), since we really
authorOwen Taylor <otaylor@redhat.com>
Thu, 28 Jan 1999 06:30:57 +0000 (06:30 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 28 Jan 1999 06:30:57 +0000 (06:30 +0000)
Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>

* gtkfontsel.c gtkcolorsel.c: When translating
N_() strings, use _(), not gettext(), since we
really need to call dgettext().

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcolorsel.c
gtk/gtkfontsel.c

index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index fe61fdecb1fdad4f1a1a035f772bc9cf6d30a380..e0f1e110d628cd84f95e6ef2e8570077a0dfe740 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 28 01:34:29 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtkfontsel.c gtkcolorsel.c: When translating
+       N_() strings, use _(), not gettext(), since we
+       really need to call dgettext().
+
 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
 
        * acinclude.m4: Xsed isn't valid here, don't use it
index a7240a66ee830097c8e2c736f78d6eeb13c76d84..0bb87f70bb97abc46f1d997f3663437127e3c9fa 100644 (file)
@@ -389,7 +389,7 @@ gtk_color_selection_init (GtkColorSelection *colorsel)
 
   for (n = HUE; n <= OPACITY; n++)
     {
-      label = gtk_label_new (gettext(scale_vals[n].label));
+      label = gtk_label_new (_(scale_vals[n].label));
       gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
       gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, n, n + 1);
 
index e50b9490c313c80c7019918437e6dffd2bdb7bfb..bfd3b5ca9bd53427533474c2d0186a3fb8043409 100644 (file)
@@ -731,7 +731,7 @@ gtk_font_selection_init(GtkFontSelection *fontsel)
   row_text[2] = "";
   for (i = 0; i < GTK_XLFD_NUM_FIELDS; i++)
     {
-      row_text[0] = gettext(xlfd_field_names[i]);
+      row_text[0] = _(xlfd_field_names[i]);
       gtk_clist_append(GTK_CLIST(fontsel->info_clist), row_text);
       gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 0, 0, 4);
       gtk_clist_set_shift(GTK_CLIST(fontsel->info_clist), i, 1, 0, 4);
@@ -824,7 +824,7 @@ gtk_font_selection_init(GtkFontSelection *fontsel)
       gint left = filter_positions[prop][0];
       gint top = filter_positions[prop][1];
       
-      label = gtk_label_new(gettext(xlfd_field_names[xlfd_index[prop]]));
+      label = gtk_label_new(_(xlfd_field_names[xlfd_index[prop]]));
       gtk_misc_set_alignment (GTK_MISC (label), 0.0, 1.0);
       gtk_misc_set_padding (GTK_MISC (label), 0, 2);
       gtk_widget_show(label);